package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the ludzie database table.
 * 
 *
@Entity
@Table(name = "ludzie")
@NamedQueries({
@NamedQuery(name = "Ludzie.All" , query = "SELECT l FROM Ludzie l ORDER BY l.id"),
@NamedQuery(name = "Ludzie.Check", query="SELECT l FROM Ludzie l WHERE " +
		"l.login=:login AND l.pass=:pass")
})
public class Ludzie implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Integer id;
	private String pass;
	private String login;
	
	public Ludzie() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}
}
*/